import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

export function listMessage(query) {
  return request({
    url: '/system/message/list',
    method: 'get',
    params: query
  })
}

// 查询新闻详细
export function getMessage(messageId) {
  return request({
    url: '/system/message/' + parseStrEmpty(messageId),
    method: 'get'
  })
}
